package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.RoleDto;
import com.zzyl.vo.RoleVo;

import java.util.List;
import java.util.Set;

public interface SysRoleService {
   

    PageResponse<RoleVo> getRoleByPage(String roleName, Integer pageNum, Integer pageSize);

    void createRole(RoleDto roleDto);

    void updateRole(RoleDto roleDto);

    void deleteRole(Long[] roleIds);



    List<String> getResourcesbyRoleId(Long roleId);

    List<RoleVo> initRoles();
}
